package com.hkts.beltweigher.master.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author hml
 * @since 2024-04-10
 */
public class HktsFieldControl extends Model<HktsFieldControl> {

private static final long serialVersionUID=1L;

    /**
     * 主键
     */
        private String id;
    /**
     * 系数
     */
        private Float coefficient;
    /**
     * 固定值
     */
        private Float fixedValue;
    /**
     * 最大值
     */
        private Float maxValue;
    /**
     * 最小值
     */
        private Float minValue;
    /**
     * 字段id
     */
        private String itemId;
    /**
     * 运行时间  鸿祥在用
     */
        private Integer runningTime;
    /**
     * 停运行时间  鸿祥在用
     */
        private Integer stopTime;


    public String getId(){
            return id;
            }

        public void setId(String id) {
            this.id = id;
            }

    public Float getCoefficient(){
            return coefficient;
            }

        public void setCoefficient(Float coefficient) {
            this.coefficient = coefficient;
            }

    public Float getFixedValue(){
            return fixedValue;
            }

        public void setFixedValue(Float fixedValue) {
            this.fixedValue = fixedValue;
            }

    public Float getMaxValue(){
            return maxValue;
            }

        public void setMaxValue(Float maxValue) {
            this.maxValue = maxValue;
            }

    public Float getMinValue(){
            return minValue;
            }

        public void setMinValue(Float minValue) {
            this.minValue = minValue;
            }

    public String getItemId(){
            return itemId;
            }

        public void setItemId(String itemId) {
            this.itemId = itemId;
            }

    public Integer getRunningTime(){
            return runningTime;
            }

        public void setRunningTime(Integer runningTime) {
            this.runningTime = runningTime;
            }

    public Integer getStopTime(){
            return stopTime;
            }

        public void setStopTime(Integer stopTime) {
            this.stopTime = stopTime;
            }

    public static final String ID ="id";

    public static final String COEFFICIENT ="coefficient";

    public static final String FIXED_VALUE ="fixed_value";

    public static final String MAX_VALUE ="max_value";

    public static final String MIN_VALUE ="min_value";

    public static final String ITEM_ID ="item_id";

    public static final String RUNNING_TIME ="running_time";

    public static final String STOP_TIME ="stop_time";

@Override
protected Serializable pkVal(){
            return this.id;
        }

@Override
public String toString() {
        return "HktsFieldControl{" +
                ", id=" + id +
                ", coefficient=" + coefficient +
                ", fixedValue=" + fixedValue +
                ", maxValue=" + maxValue +
                ", minValue=" + minValue +
                ", itemId=" + itemId +
                ", runningTime=" + runningTime +
                ", stopTime=" + stopTime +
        "}";
        }
        }
